package com.htpay.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.htpay.mapper.MerchantAuthMapper;
import com.htpay.model.entity.MerchantAuth;
import com.htpay.service.IMerchantAuthService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商户认证表 服务实现类
 * </p>
 */
@Service
@Slf4j
public class MerchantAuthServiceImpl extends ServiceImpl<MerchantAuthMapper, MerchantAuth> implements IMerchantAuthService {
    @Autowired
    MerchantAuthMapper merchantAuthMapper;

    @Override
    public MerchantAuth findMerchantAuthInfo(Integer merchantId) {
        return merchantAuthMapper.getMerchantAuthInfo(merchantId);
    }
}
